﻿#ifndef _PLUGIN_EXPORT_H
#define _PLUGIN_EXPORT_H

#include "global.h"

#ifdef __cplusplus
extern "C" {
// #ifdef __cplusplus
#endif

#define _PLUGIN_DECLSPEC_EXPORT __declspec(dllexport)

_PLUGIN_DECLSPEC_EXPORT int LoadingInfo(int session);
_PLUGIN_DECLSPEC_EXPORT int EventInit(char* path);
_PLUGIN_DECLSPEC_EXPORT int EventEnable();
_PLUGIN_DECLSPEC_EXPORT int EventStop(int type);
_PLUGIN_DECLSPEC_EXPORT int EventLogin(LPCSTR robotWxid, LPCSTR robotName, int type, LPCSTR msg);
_PLUGIN_DECLSPEC_EXPORT int EventGroupMsg(LPCSTR robotWxid, int type, LPCSTR fromWxid, LPCSTR fromName, LPCSTR finalFromWxid, LPCSTR finalFromName, LPCSTR toWxid, LPCSTR msg);
_PLUGIN_DECLSPEC_EXPORT int EventFriendMsg(LPCSTR robotWxid, int type, LPCSTR fromWxid, LPCSTR fromName, LPCSTR toWxid, LPCSTR msg);
_PLUGIN_DECLSPEC_EXPORT int EventReceivedTransfer(LPCSTR robotWxid, LPCSTR fromWxid, LPCSTR fromName, LPCSTR toWxid, LPCSTR money, LPCSTR jsonMsg);

_PLUGIN_DECLSPEC_EXPORT int EventScanCashMoney(LPCSTR robotWxid, LPCSTR payWxid, LPCSTR payName, LPCSTR money, LPCSTR jsonMsg);

_PLUGIN_DECLSPEC_EXPORT int EventFriendVerify(LPCSTR robotWxid, LPCSTR fromWxid, LPCSTR fromName, LPCSTR toWxid, LPCSTR jsonMsg);

_PLUGIN_DECLSPEC_EXPORT int EventContactsChange(LPCSTR robotWxid, int type, LPCSTR fromWxid, LPCSTR fromName, LPCSTR msg);

_PLUGIN_DECLSPEC_EXPORT int EventGroupMemberAdd(LPCSTR robotWxid, LPCSTR fromWxid, LPCSTR fromName, LPCSTR jsonMsg);

_PLUGIN_DECLSPEC_EXPORT int EventGroupMemberDecrease(LPCSTR robotWxid, LPCSTR fromWxid, LPCSTR fromName, LPCSTR jsonMsg);

_PLUGIN_DECLSPEC_EXPORT int EventSysMsg(LPCSTR robotWxid, int type, LPCSTR jsonMsg);

_PLUGIN_DECLSPEC_EXPORT void Menu();

#ifdef __cplusplus
}
// #ifdef __cplusplus
#endif

// #ifndef _PLUGIN_EXPORT_H
#endif
